#ifndef EVENT_HANDLER_H
#define EVENT_HANDLER_H

#include "SDL.h"

// A friend class to GameWorld to handle incoming events during actual game play. Events outside of this
// window are not handled here. 

#define GameEventHandler EventHandler::Instance();
class EventHandler
{
private:
	EventHandler() {};
	EventHandler(const EventHandler&) {};

public:
	static EventHandler* Instance() {static EventHandler instance; return &instance;}

	void			HandleEvents(SDL_Event& event);
	void			HandleMouseButtons(SDL_Event& event);
	void			HandleKeyboardButtons(SDL_Event& event);
};

#endif